home *** CD-ROM | disk | FTP | other *** search
/ Foreland January 1997 / Foreland January 1997.iso / dicegame.dir / 00072_Button Control.ls < prev    next >
Encoding:
Text File  |  1996-12-26  |  292 b   |  18 lines

  1. on enterFrame
  2.   global gameCash, cashPos
  3.   set the visible of sprite 5 to 1
  4.   put "compareReturn" into field "Find Marker"
  5.   if gameCash <= 0 then
  6.     brokeGameF()
  7.   end if
  8.   if cashPos <= 0 then
  9.     brokeDrillF()
  10.   end if
  11. end
  12.  
  13. on exitFrame
  14.   hiliteButtons()
  15.   checkBar()
  16.   go(the frame)
  17. end
  18.